]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Show newly created folder when creating
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 4 Dec 2019 20:09:10 +0000 (17:09 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 5 Dec 2019 12:00:11 +0000 (12:00 +0000)
The icon grid currently sorts icons by their names. When creating new
folders, the folder may end up being in a different page, and that's
confusing since we don't actually move to where the new folder is.

Move the icon grid to the newly created folder.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/883

js/ui/appDisplay.js

index 61dd7ae4378c9a9ac8f43534211b31df45008a8a..2dcf866e4fd4fabc59380ba8894871b333a6db2b 100644 (file)
@@ -923,6 +923,8 @@ var AllView = GObject.registerClass({
         newFolderSettings.set_strv('apps', apps);
         newFolderSettings.apply();
 
+        this.selectApp(newFolderId);
+
         return true;
     }
 });